#pragma once
#include <cstdio>

namespace umtl
{
	unsigned int getFileCRC(FILE *);

	unsigned int calcCRC (const unsigned char * mem, unsigned int size, unsigned int CRC);

	void makeCRCtable(unsigned int * table, unsigned int id);
}